package edu.friday.mapper;

import edu.friday.model.SysUser;

import java.util.List;


public interface SysUserMapper {
    int deleteByPrimaryKey(Long userId);

    int deleteByIds(Long[] userId);

    int checkUserNameUnique(String userName);


//    int deleteUserByIds(Long userIds);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long userId);

    List<SysUser> selectAll(SysUser sysUser);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    SysUser selectUserByUserName(String username);
}